package com.ecnu.system.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ProjectIndexFileDTO {
    private String id;
    @NotBlank(message = "活动id不能为空")
    @TableField("pro_id")
    @ApiModelProperty(value = "活动id")
    private String proId;

    /**
     * 文件名
     */
    @TableField("name")
    @ApiModelProperty(value = "文件名")
    private String name;

    /**
     * 文件地址
     */
    @TableField("url")
    @ApiModelProperty(value = "文件地址")
    private String url;

    private String fullurl;
}
